Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

Ok, that works but Default Namespaces still a challenge
~Lex Kihipitex 25.Oct.02 01:42 AM a Web browser
Applications Development 6.0 All Platforms


Thanks George.

I did get it going with the markups you suggested. However, to save on future typing I also tried a version with dxl as the default namespace ie xmlns='http://www.lotus.com/dxl', and could not get this one going.

From my reading of your note this should be possible as well ?

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns='http://www.lotus.com/dxl'>
<xsl:output method="html" indent="yes"/>

<xsl:template match="/">
<HTML>
<HEAD>
<TITLE>Blog</TITLE>
</HEAD>
<BODY bgcolor="#ffffff" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
<xsl:apply-templates select="database"/>
</BODY>
</HTML>
</xsl:template>

<xsl:template match="database">
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0">
<xsl:apply-templates select="document"/>
</TABLE>
</xsl:template>

<xsl:template match="document">
<TR>
<TD border="0">
<A>
<xsl:attribute name="href">
<xsl:value-of select="item[@name='Link']/text"/>
</xsl:attribute>
<xsl:value-of select="item[@name='Title']/text"/>
</A>
<BR>
<xsl:value-of select="item[@name='Description']/text"/>
</BR>
</TD>
</TR>
</xsl:template>
</xsl:stylesheet>




XSLT Transformations of Notes 6 DXL... (~Lex Kihipitex 24.Oct.02)
. . RE: XSLT Transformations of Notes 6... (~Justin Quetjip... 24.Oct.02)
. . XML namespaces FAQ (~Lex Ekweberg 24.Oct.02)
. . It is working according to spec. (~Olga Kikrotern... 24.Oct.02)
. . . . RE: It is working according to spec... (~Ethan Zenfreet... 10.Dec.02)
. . . . Ok, that works but Default Namespac... (~Lex Kihipitex 25.Oct.02)
. . . . . . Setting xmlns="http://www.lotus.com... (~Olga Kikrotern... 29.Oct.02)
. . . . . . . . But may-be xmlns and xmlns:dxl? (~Delores Zenkro... 15.Nov.03)
. . RE: XSLT Transformations of Notes 6... (~Autumn Rejipyp... 24.Oct.02)
. . RE: XSLT Transformations of Notes 6... (~Yentl Rekrovit... 24.Oct.02)
. . . . RE: XSLT Transformations of Notes 6... (~Justin Quetjip... 24.Oct.02)
. . Working Version of XSLT Transformat... (~Lex Kihipitex 25.Oct.02)
. . . . Glenn, I said the same thing about ... (~Justin Quetjip... 25.Oct.02)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS